<template>
	<view id="profitDetail">
		<view class="dataNav">
			<view class="dataLine">
				<view class="label">月份：</view>
				<view class="data">{{item.t0}}</view>
			</view>
			<view class="dataLine">
				<view class="label">平台：</view>
				<view class="data">{{item.productName}}</view>
			</view>
			<view class="dataLine" @click="a_show=!a_show">
				<view class="label">类型：</view>
				<view class="data">{{item.t2}}</view>
			</view>
			<view class="dataLine">
				<view class="label">合作商编号：</view>
				<view class="data">{{item.t3}}</view>
			</view>
			<view class="dataLine">
				<view class="label">合作商名称：</view>
				<view class="data">{{item.t4}}</view>
			</view>
			<view class="dataLine">
				<view class="label">合计金额：</view>
				<view class="data">{{item.t7}}</view>
			</view>
			
			<view class="dataLine">
				<view class="label">调整金额：</view>
				<view class="data">{{item.t40}}</view>
			</view>
			
			<view class="dataLine" v-if="item.t_8">
				<view class="label">专票(6%)开票金额：</view>
				<view class="data">{{item.t8}}</view>
			</view>
			<view class="dataLine" v-if="item.t_9">
				<view class="label">专票(3%)开票金额：</view>
				<view class="data">{{item.t9}}</view>
			</view>
			<view class="dataLine" v-if="item.t_10">
				<view class="label">普票开票金额：</view>
				<view class="data">{{item.t10}}</view>
			</view>
			<view class="dataLine" v-if="item.t_11">
				<view class="label">不开票金额：</view>
				<view class="data">{{item.t11}}</view>
			</view>		  
			<view class="dataLine">
				<view class="label">开票类型：</view>
				<view class="data">{{item.t12}}</view>
			</view>
			
			<view class="dataLine">
				<view class="label">开票金额：</view>
				<view class="data">{{item.t13}}</view>
			</view>
			<view class="dataLine">
				<view class="label">应发金额：</view>
				<view class="data">{{item.t14}}</view>
			</view>
			<view class="dataLine">
				<view class="label">实发金额：</view>
				<view class="data">{{item.t22}}</view>
			</view>
			<view class="dataLine">
				<view class="label">发放时间：</view>
				<view class="data">{{item.t23}}</view>
			</view>
			<view class="dataLine">
				<view class="label">状态：</view>
				<view class="data">{{item.t24}}</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				id:'',
				a_show:false,
				item:{}
			}
		},
		onLoad(option){
			this.id=option.id
			this.getData()
		},
		methods: {
			getData() {
				this.httpClient.post('profit/app/calculateReentry/getMingxiList', {
					id:this.id
				}).then(res => {
					if(res.code==200){
						this.item=res.data
					}
				})
			}
		}
	}
</script>

<style scoped lang="scss">
	#profitDetail{
		.dataNav{
			.dataLine{
				position:relative;display:flex;align-items: center;background:#FFF;margin-bottom:1rpx;padding:15rpx 20rpx;
				.label{
					width:200rpx;text-align:right;color:#888;
				}
				.data{
					position:relative;flex:1;
				}
				.operBtn{
					background:#FFA500;color:#FFF;margin:10rpx 30rpx;text-align: center;border-radius: 15rpx;padding:10rpx;
				}
			}
		}
		  
	}
	
</style>
